package com.steam.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * [STRATO MyBatis Generator]
 * Table: user_loginlog
@mbggenerated do_not_delete_during_merge 2017-05-10 13:37:36
 */
public class UserLoginlog implements Serializable {
    /**
     *   用户登录日志(访问服务端)
     * Column: user_loginlog.login_log_id
    @mbggenerated 2017-05-10 13:37:36
     */
    private Integer loginLogId;

    /**
     *   用户id
     * Column: user_loginlog.user_id
    @mbggenerated 2017-05-10 13:37:36
     */
    private Integer userId;

    /**
     *   用户名称
     * Column: user_loginlog.username
    @mbggenerated 2017-05-10 13:37:36
     */
    private String username;

    /**
     *   最后一次客户登录的ip地址
     * Column: user_loginlog.ip_address
    @mbggenerated 2017-05-10 13:37:36
     */
    private String ipAddress;

    /**
     *   客户端口号
     * Column: user_loginlog.port
    @mbggenerated 2017-05-10 13:37:36
     */
    private String port;

    /**
     *   访问时间
     * Column: user_loginlog.login_time
    @mbggenerated 2017-05-10 13:37:36
     */
    private Date loginTime;

    /**
     *   状态(0正常,1禁止登录,2设置黑名单禁止访问或连接)
     * Column: user_loginlog.statues
    @mbggenerated 2017-05-10 13:37:36
     */
    private Integer statues;

    /**
     *   访问的服务器id
     * Column: user_loginlog.server_id
    @mbggenerated 2017-05-10 13:37:36
     */
    private Integer serverId;

    /**
     *   访问次数
     * Column: user_loginlog.visit_num
    @mbggenerated 2017-05-10 13:37:36
     */
    private Integer visitNum;

    /**
     *   最后一次上传的经度
     * Column: user_loginlog.longitude
    @mbggenerated 2017-05-10 13:37:36
     */
    private Double longitude;

    /**
     *   最后一次上传的纬度
     * Column: user_loginlog.latitude
    @mbggenerated 2017-05-10 13:37:36
     */
    private Double latitude;

    /**
     *   大概位置
     * Column: user_loginlog.locate_address
    @mbggenerated 2017-05-10 13:37:36
     */
    private String locateAddress;

    /**
     *   登录的设备类型
     * Column: user_loginlog.platform_type
    @mbggenerated 2017-05-10 13:37:36
     */
    private Byte platformType;

    /**
     *   登录的设备信息
     * Column: user_loginlog.platform_item
    @mbggenerated 2017-05-10 13:37:36
     */
    private String platformItem;

    /**
     *   0代表以前的记录,1代表现在的记录,每个人最新的都是1
     * Column: user_loginlog.state
    @mbggenerated 2017-05-10 13:37:36
     */
    private String state;

    /**
     * Table: user_loginlog
    @mbggenerated 2017-05-10 13:37:36
     */
    private static final long serialVersionUID = 1L;

    public Integer getLoginLogId() {
        return loginLogId;
    }

    public void setLoginLogId(Integer loginLogId) {
        this.loginLogId = loginLogId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress == null ? null : ipAddress.trim();
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port == null ? null : port.trim();
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Integer getStatues() {
        return statues;
    }

    public void setStatues(Integer statues) {
        this.statues = statues;
    }

    public Integer getServerId() {
        return serverId;
    }

    public void setServerId(Integer serverId) {
        this.serverId = serverId;
    }

    public Integer getVisitNum() {
        return visitNum;
    }

    public void setVisitNum(Integer visitNum) {
        this.visitNum = visitNum;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public String getLocateAddress() {
        return locateAddress;
    }

    public void setLocateAddress(String locateAddress) {
        this.locateAddress = locateAddress == null ? null : locateAddress.trim();
    }

    public Byte getPlatformType() {
        return platformType;
    }

    public void setPlatformType(Byte platformType) {
        this.platformType = platformType;
    }

    public String getPlatformItem() {
        return platformItem;
    }

    public void setPlatformItem(String platformItem) {
        this.platformItem = platformItem == null ? null : platformItem.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }
}